package com.wnxy.sddfp.common.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data       // set/get
@AllArgsConstructor
@NoArgsConstructor   //  有参无参
@Builder             //  构建者模式
@ApiModel("登陆返回信息")   // knife4j  测试文本提示
public class LoginVo {

   @ApiModelProperty("用户ID")
   private Long id;

   @ApiModelProperty("用户名")
   private String userName;

   @ApiModelProperty("手机")
   private String phone;
    
   @ApiModelProperty("返回token")
   private String token;    
}